<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link href="assets/css/bootstrap.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="css/style.css"/>
    <link rel="stylesheet" href="assets/css/ace.min.css"/>
    <link rel="stylesheet" href="assets/css/font-awesome.min.css"/>
    <link href="Widget/icheck/icheck.css" rel="stylesheet" type="text/css"/>
    <!--[if IE 7]>
    <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css"/>
    <![endif]-->
    <!--[if lte IE 8]>
    <link rel="stylesheet" href="assets/css/ace-ie.min.css"/>
    <![endif]-->
    <script src="js/jquery-1.9.1.min.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
    <script src="assets/js/typeahead-bs2.min.js"></script>
    <script src="assets/js/jquery.dataTables.min.js"></script>
    <script src="assets/js/jquery.dataTables.bootstrap.js"></script>
    <script src="assets/layer/layer.js" type="text/javascript"></script>
    <script src="assets/laydate/laydate.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/H-ui.js"></script>
    <script type="text/javascript" src="js/H-ui.admin.js"></script>
    <script src="js/lrtk.js" type="text/javascript"></script>
    <title>品牌详细</title>
</head>

<body>
<div class="page-content clearfix">
    <div class="brand_detailed">
        <div class="brand_info clearfix">
            <div class="title_brand">品牌信息</div>
            <form>
                <ul class="Info_style clearfix">
                    <li><label class="label_name">品牌名称：</label> <span class="name">玉兰油OLAY</span></li>
                    <li><label class="label_name">品牌类型：</label><span class="name">国外品牌</span></li>
                    <li><label class="label_name">所属国家：</label><span class="name">法国</span></li>
                    <li><label class="label_name">品牌编号：</label><span class="name">HG3452</span></li>
                    <li><label class="label_name">品牌商品：</label><span class="name">共3456件</span></li>
                    <li><label class="label_name">添加时间：</label><span class="name">2016-6-21 34：23</span></li>
                    <li><label class="label_name">状&nbsp;&nbsp;&nbsp;&nbsp;态：</label><span class="name">启用</span></li>
                    <li class="b_Introduce"><label class="label_name">品牌介绍：</label><span class="name">玉兰油OLAY，是宝洁公司全球著名的护肤品牌，是中国区最大护肤品牌，在大陆已持续十年呈两位数增长。OLAY以全球高科技护肤研发技术为后盾，在深入了解中国女性对护肤和美的需要的基础上，不断扩大产品范围，目前已经涵盖了护肤和沐浴系列，真正帮助女性全面周到地呵护自己的肌肤。玉兰油全球销售额近十亿美金，成为世界上最大、最著名的护肤品牌之一。卓越的护肤功效获得世界爱美女性肯定，迅速畅销150多个国家。</span>
                    </li>
                </ul>
                <div class="brand_logo">
                    <img src="products/logo/156.jpg" width="120px" height="60px"/>
                    <p class="name">玉兰油OLAY</p>
                </div>
            </form>
        </div>
    </div>
    <!--品牌商品-->
    <div class="border clearfix">
       <span class="l_f">
        <a href="picture-add.html" title="添加商品" class="btn btn-warning Order_form"><i class="icon-plus"></i>添加商品</a>
        <a href="javascript:ovid()" class="btn btn-danger"><i class="icon-trash"></i>批量删除</a>
       </span>
        <span class="r_f">该品牌下共：<b>234</b>件商品</span>
    </div>
    <!--产品列表-->
    <div class="b_products_list clearfix" id="products_list">
        <div id="scrollsidebar" class="left_Treeview">
            <div class="show_btn" id="rightArrow"><span></span></div>
            <div class="widget-box side_content">
                <div class="side_title"><a title="隐藏" class="close_btn"><span></span></a></div>
                <div class="side_list">
                    <div class="widget-header header-color-green2"><h4 class="lighter smaller">产品所属分类</h4></div>
                    <div class="widget-body">
                        <ul class="b_P_Sort_list">
                            <li><i class="orange icon-folder-close"></i></i><a href="#">全部(235)</a></li>
                            <li><i class="icon-file-text grey"></i> <a href="#">乳液面霜(5)</a></li>
                            <li><i class="icon-file-text grey"></i><a href="#">套装(15)</a></li>
                            <li><i class="icon-file-text grey"></i><a href="#">洁面(6)</a></li>
                            <li><i class="icon-file-text grey"></i> <a href="#">精华(2)</a></li>
                            <li><i class="icon-file-text grey"></i> <a href="#">爽肤水(12)</a></li>
                            <li><i class="icon-file-text grey"></i><a href="#">防晒(6)</a></li>
                            <li><i class="icon-file-text grey"></i><a href="#">面膜(7)</a></li>
                            <li><i class="icon-file-text grey"></i><a href="#">眼霜(23)</a></li>
                            <li><i class="icon-file-text grey"></i><a href="#">精华露(53)</a></li>
                            <li><i class="icon-file-text grey"></i><a href="#">爽肤水(25)</a></li>
                            <li><i class="icon-file-text grey"></i><a href="#">隔离(52)</a></li>
                            <li><i class="icon-file-text grey"></i> <a href="#">眼部护理(45)</a></li>
                        </ul>

                    </div>
                </div>
            </div>
        </div>
        <!--列表展示-->
        <div class="table_menu_list" id="testIframe">
            <table class="table table-striped table-bordered table-hover" id="sample-table">
                <thead>
                <tr>
                    <th width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></th>
                    <th width="80px">产品编号</th>
                    <th width="250px">产品名称</th>
                    <th width="100px">原价格</th>
                    <th width="100px">现价</th>
                    <th width="100px">所属地区/国家</th>
                    <th width="180px">加入时间</th>
                    <th width="80px">审核状态</th>
                    <th width="70px">状态</th>
                    <th width="200px">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">45631</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">Olay玉兰油
                        新生塑颜金纯面霜50g（大红瓶） </u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>
                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">45631</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">玉兰油 Olay
                        新生塑颜金纯面霜轻盈无香精型50g (大红瓶抗皱紧致 补水保湿) </u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>
                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">45631</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">玉兰油 Olay 多效修护霜50g(乳液面霜
                        补水保湿 提拉紧致) </u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>
                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">543346</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">Olay玉兰油
                        多效修护粉嫩气色霜50g（保养级BB霜 裸妆） 4G手机Y</u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>
                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">987767</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">Olay玉兰油
                        多效修护润舒霜50g（补水保湿、细腻肌肤） </u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>
                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">54343</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">Olay玉兰油 水感透皙莹肌亮肤液 150ml
                        4G手机Y</u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>
                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">786554</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">Olay玉兰油
                        水感透白亮肤凝乳75ml（提亮肤色） </u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>
                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">32122</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">Olay玉兰油 活肤菁华霜50g（补水 保湿
                        ） </u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>

                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">767544</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">Olay玉兰油 白里透红嫩白乳液75ml（保湿
                        滋润) 4G手机Y</u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>

                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">23466</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">小米 Max 全网通 高配版 3GB内存
                        64GB ROM 金色 移动联通电信4G手机Y</u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>

                <tr>
                    <td width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                    <td width="80px">54533</td>
                    <td width="250px"><u style="cursor:pointer" class="text-primary" onclick="">小米 Max 全网通 高配版 3GB内存
                        64GB ROM 金色 移动联通电信4G手机Y</u></td>
                    <td width="100px">5467</td>
                    <td width="100px">4525</td>
                    <td width="100px">法国</td>
                    <td width="180px">2014-6-11 11:11:42</td>
                    <td class="text-l">通过</td>
                    <td class="td-status"><span class="label label-success radius">已启用</span></td>
                    <td class="td-manage">
                        <a onClick="member_stop(this,'10001')" href="javascript:;" title="停用"
                           class="btn btn-xs btn-success"><i class="icon-ok bigger-120"></i></a>
                        <a title="编辑" onclick="member_edit('编辑','member-add.html','4','','510')" href="javascript:;"
                           class="btn btn-xs btn-info"><i class="icon-edit bigger-120"></i></a>
                        <a title="删除" href="javascript:;" onclick="member_del(this,'1')" class="btn btn-xs btn-warning"><i
                                class="icon-trash  bigger-120"></i></a>
                    </td>
                </tr>

                </tbody>
            </table>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript">
    //数据
    jQuery(function ($) {
        var oTable1 = $('#sample-table').dataTable({
            "aaSorting": [[1, "desc"]],//默认第几个排序
            "bStateSave": true,//状态保存
            "aoColumnDefs": [
                //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
                {"orderable": false, "aTargets": [0, 2, 3, 4, 5, 8, 9]}// 制定列不参与排序
            ]
        });


        $('table th input:checkbox').on('click', function () {
            var that = this;
            $(this).closest('table').find('tr > td:first-child input:checkbox')
                .each(function () {
                    this.checked = that.checked;
                    $(this).closest('tr').toggleClass('selected');
                });

        });


        $('[data-rel="tooltip"]').tooltip({placement: tooltip_placement});

        function tooltip_placement(context, source) {
            var $source = $(source);
            var $parent = $source.closest('table')
            var off1 = $parent.offset();
            var w1 = $parent.width();

            var off2 = $source.offset();
            var w2 = $source.width();

            if (parseInt(off2.left) < parseInt(off1.left) + parseInt(w1 / 2)) return 'right';
            return 'left';
        }
    });
    //图层隐藏限时参数
    $(function () {
        $("#products_list").fix({
            float: 'left',
            //minStatue : true,
            skin: 'green',
            durationTime: false,
            stylewidth: '220',
            spacingw: 30,//设置隐藏时的距离
            spacingh: 260,//设置显示时间距
        });
    });
    //初始化宽度、高度
    $(".widget-box").height($(window).height() - 215);
    $(".table_menu_list").width($(window).width() - 260);
    $(".table_menu_list").height($(window).height() - 215);
    //当文档窗口发生改变时 触发
    $(window).resize(function () {
        $(".widget-box").height($(window).height() - 215);
        $(".table_menu_list").width($(window).width() - 260);
        $(".table_menu_list").height($(window).height() - 215);
    });

    /*品牌-停用*/
    function member_stop(obj, id) {
        layer.confirm('确认要停用吗？', function (index) {
            $(obj).parents("tr").find(".td-manage").prepend('<a style="text-decoration:none" class="btn btn-xs " onClick="member_start(this,id)" href="javascript:;" title="启用"><i class="icon-ok bigger-120"></i></a>');
            $(obj).parents("tr").find(".td-status").html('<span class="label label-defaunt radius">已停用</span>');
            $(obj).remove();
            layer.msg('已停用!', {icon: 5, time: 1000});
        });
    }

    /*用户-启用*/
    function member_start(obj, id) {
        layer.confirm('确认要启用吗？', function (index) {
            $(obj).parents("tr").find(".td-manage").prepend('<a style="text-decoration:none" class="btn btn-xs btn-success" onClick="member_stop(this,id)" href="javascript:;" title="停用"><i class="icon-ok bigger-120"></i></a>');
            $(obj).parents("tr").find(".td-status").html('<span class="label label-success radius">已启用</span>');
            $(obj).remove();
            layer.msg('已启用!', {icon: 6, time: 1000});
        });
    }

    /*品牌-删除*/
    function member_del(obj, id) {
        layer.confirm('确认要删除吗？', function (index) {
            $(obj).parents("tr").remove();
            layer.msg('已删除!', {icon: 1, time: 1000});
        });
    }

    //面包屑返回值
    var index = parent.layer.getFrameIndex(window.name);
    parent.layer.iframeAuto(index);
    $('.Order_form').on('click', function () {
        var cname = $(this).attr("title");
        var chref = $(this).attr("href");
        var cnames = parent.$('.Current_page').html();
        var herf = parent.$("#iframe").attr("src");
        parent.$('#parentIfour').html(cname);
        parent.$('#iframe').attr("src", chref).ready();
        ;
        parent.$('#parentIfour').css("display", "inline-block");
        //parent.$('.Current_page').attr({"name":herf,"href":"javascript:void(0)"}).css({"color":"#4c8fbd","cursor":"pointer"});
        parent.$('.parentIframe').attr("name", herf).css({"color": "#4c8fbd", "cursor": "pointer"});
        //parent.$('.Current_page').html("<a href='javascript:void(0)' name="+herf+" class='iframeurl'>" + cnames + "</a>");
        parent.layer.close(index);

    });
</script>
